Add definition macro for internal types
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 19 Mar 2020 15:53:35 +0000 (15:53 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 Mar 2020 03:14:45 +0000 (23:14 -0400)
commit1ddd8586ddcb0dc78350ff45aa75fb3ba10de965
tree138dace6991ec2813cd95ca00b4917006ba3452f
parent5ea45bf57d245bcc60e1bd12fe8daf9278095ee5
Add definition macro for internal types

GTK defines various types that are meant to be derivable only within GTK
itself, and "final" from the perspective of consumers of the GTK API.
The existing macros defined by GObject, such as G_DECLARE_FINAL_TYPE and
G_DECLARE_DERIVABLE_TYPE, lack this functionality.

While we wait for GObject to get this kind of macro, we should define
our own.
gdk/gdktypes.h